package com.example.domain;

import lombok.Data;

@Data
public class Result {

    private Boolean code;  //状态码
    private Object data;  //数据对象


//    private String msg;

    public Result(){

    }

    public Result(Boolean code) {
        this.code = code;
    }

    public Result(Object data) {
        this.data = data;
    }

    public Result(Boolean code, Object data) {
        this.code = code;
        this.data = data;
    }
}
